Nospawnojas savā bāzē.
Moderator: Moderatori
- Grindz[Vendetta]
- Servera admins
- Posts: 597
- Joined: 18 Jan 2009, 12:19
- Location: Rīga
Nospawnojas savā bāzē.
Gribēju pajautāt kā var uztaisīt savam serverim, lai viss [GsH] klans spawnotos savā bāzē, bet pārējie bez [GsH] klantaga nē?
- [AoD]Aleksis
- Nelabojams spameris
- Posts: 3891
- Joined: 25 May 2008, 14:05
- Location: Tepat.
Re: Nospawnojas savā bāzē.
Code: Select all
public OnPlayerSpawn(playerid)
{
new Nick[MAX_PLAYER_NAME];
GetPlayerName(playerid, Nick, sizeof(Nick));
if(strfind(Nick, "niks vai klans", true) != -1)
{
SetPlayerPos(playerid, x,y,z);
}
return 1;
}

- Grindz[Vendetta]
- Servera admins
- Posts: 597
- Joined: 18 Jan 2009, 12:19
- Location: Rīga
Grindz[GsH]
Paldies viss nostrādāja!
Varat LOCK!
Varat LOCK!
