Skripta koju koristm:LARP
Opis Problema:Pa radio sam po ovome http://balkan-samp.com/forum/index.php?topic=1868.0 u Filterscriptu sam stavio i nece
Dio skripte:
[b]C:\Users\ADMIN\Desktop\TEST\Server\Novi server\TEST\gamemodes\NPC.pwn(67) : error 017: undefined symbol "MyFirstNPCVehicle"
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
2 Errors.[/b]
Na pocetak sam stavio new MyFirstNPCVehicle;
Al isto error
67. Linija
PutPlayerInVehicle(playerid, MyFirstNPCVehicle, 0);
Jednostavno stavi new MyFirstNPCVehicle;
Citat: [TG]$--L84S--$ poslato Jul 02, 2011, 01:13:35 PRE PODNE
Jednostavno stavi new MyFirstNPCVehicle;
Evo da vidis jos jednom sta je napisao :
CitatNa pocetak sam stavio new MyFirstNPCVehicle;
Citat: EM|Nxidza poslato Jul 02, 2011, 01:14:54 PRE PODNE
Citat: [TG]$--L84S--$ poslato Jul 02, 2011, 01:13:35 PRE PODNE
Jednostavno stavi new MyFirstNPCVehicle;
Evo da vidis jos jednom sta je napisao :
CitatNa pocetak sam stavio new MyFirstNPCVehicle;
Moja greska nisam procitao do kraja.
probaj ovaj di ostaviti ovako
public OnPlayerSpawn(playerid)
{
if(IsPlayerNPC(playerid)) //Checks if the player that just spawned is an NPC.
{
new MyFirstNPCVehicle, npcname[MAX_PLAYER_NAME];
GetPlayerName(playerid, npcname, sizeof(npcname)); //Getting the NPC's name.
if(!strcmp(npcname, "MyFirstNPC", true)) //Checking if the NPC's name is MyFirstNPC
{
PutPlayerInVehicle(playerid, MyFirstNPCVehicle, 0); //Putting the NPC into the vehicle we created for it.
}
return 1;
}
//Other stuff for normal players goes here!
return 1;
}