Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #define FILTERSCRIPT
- #define COLOR_LIGHTBLUE 0x33CCFFAA
- #define COLOR_RED 0xAA333AA
- #include <a_samp>
- #if defined FILTERSCRIPT
- new LVRacerCar;
- new Text3D:BotInfo;
- public OnFilterScriptInit()
- {
- print("LVRacer v0.1");
- ConnectNPC("Offical_Racer","LVRacer");
- LVRacerCar = CreateVehicle(411, 0.0, 0.0 ,3.0, 0.0, 3, 3,5000);
- BotInfo = Create3DTextLabel("Offical-Racer",COLOR_LIGHTBLUE,0.0,0.0,0.0,30.0,0);
- }
- public OnFilterScriptExit()
- {
- return 1;
- }
- #else
- main()
- {
- print("\n----------------------------------");
- print(" Blank Gamemode by your name here");
- print("----------------------------------\n");
- }
- #endif
- public OnPlayerSpawn(playerid)
- {
- if(IsPlayerNPC(playerid))
- {
- new npcname[MAX_PLAYER_NAME];
- GetPlayerName(playerid, npcname, sizeof(npcname));
- SetSpawnInfo( playerid, 0, 181, 2036.3363,1348.1250,10.8203,265.4836, 0, 0, 0, 0, 0, 0 );
- if(!strcmp(npcname, "Offical_Racer",true))
- {
- PutPlayerInVehicle(playerid, LVRacerCar, 0);
- SetPlayerColor(playerid, 0xFFFFFFFF);
- }
- if(!strcmp(npcname, "Offical_Racer", true))
- {
- Attach3DTextLabelToPlayer(BotInfo, playerid, 0.0,0.0,0.0);
- }
- return 1;
- }
- return 1;
- }
Advertisement
Add Comment
Please, Sign In to add comment