If NpcBot Help
#1

How To Use If Player Is NPC BOt Dont Re Spawn Npc BOt
Код:
dcmd_allcar(playerid,params[])
{
    if(Account[playerid][pAdminlevel])
    {
	#pragma unused params
	for(new i = 0; i < MAX_VEHICLES; i++)
   {
     SetVehicleToRespawn(i);
   }
    GetPlayerName(playerid, name, sizeof(name));
    format(string, sizeof(string), "{FF0000}%s Respawned.",name);
    SendClientMessageToAll(COLOR_PINK, string);
    return 1;
   }
    return 1;
}
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)