15.03.2010, 18:10
I do not know where to put
I have this FS
Please if we can show you where to put the
Код:
{ SetPlayerSkin(playerid, '280'); }
Код:
//Los Santos Police Guard Bot //------------------------------------------------------------------------------ #include <a_samp> #include <a_npc> //------------------------------------------------------------------------------ new Police; //------------------------------------------------------------------------------ public OnFilterScriptInit() { print("LS Police "); ConnectNPC("Police","Police"); Police = CreateVehicle(596, 0.0, 0.0, 5.0, 0.0, 0, 1, 5000); return 1; } //------------------------------------------------------------------------------ public OnPlayerSpawn(playerid) { 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 name. if(!strcmp(npcname, "Police", true)) //Checking if the NPC's name is [BOT]Guard return 1; } return 1; }