Hallo
ich habe ein problem undzwar bei meinem NPC ...
er spawnt steht dan aber dumm rum >:(
auserdem kann er nicht einloggen weil pawno die include irgendwie nicht lädt:
[hide]
PAWN Code:
#define FILTERSCRIPT
#include <a_samp>
#include <a_npc>
forward OnNPCSpawn();
#if defined FILTERSCRIPT
new rustlerrustler;
public OnFilterScriptInit()
{
print("Rustlerpilot By Zerorapper Loaded.");
ConnectNPC("Terrorist","rustler");
rustlerrustler = CreateVehicle(476, 0.0, 0.0, 5.0, 0.0, 6, 0, 5000);
return 1;
}
public OnFilterScriptExit()
{
print("Rustlerpilot Unloaded.");
return 1;
}
#else
#endif
public OnPlayerSpawn(playerid)
{
if(IsPlayerNPC(playerid))
{
new npcname[MAX_PLAYER_NAME];
GetPlayerName(playerid, npcname, sizeof(npcname));
if(!strcmp(npcname, "Terrorist", true))
{
PutPlayerInVehicle(playerid, rustlerrustler, 0);
}
return 1;
}
return 1;
}
public OnNPCSpawn()
{
SendCommand("/plogin -entfernt-");
return 1;
}
Errors:
C:\Programme\Rockstar Games\Grand Theft Auto San Andreas\filterscripts\Rustler.pwn(48) : error 017: undefined symbol "SendCommand"
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
1 Error.
[/hide]