06.03.2015, 12:01
I'm having error 017..How to solve..
\gamemodes\grandlarc.pwn(93) : error 017: undefined symbol "AkashVehicle"
\gamemodes\grandlarc.pwn(93) : error 017: undefined symbol "AkashVehicle"
Quote:
if(IsPlayerNPC(playerid)) //Checks if the player that just spawned is an NPC. { new npcname[MAX_PLAYER_NAME]; GetPlayerName(playerid, npcname, sizeof(npcname)); //Getting the NPC's name. if(!strcmp(npcname, "Akash", true)) //Checking if the NPC's name is MyFirstNPC { PutPlayerInVehicle(playerid, AkashVehicle, 0); //Putting the NPC into the vehicle we created for it. } return 1; } |