31.01.2013, 18:57
Quote:
I need a derby system, heres my command below. I need that the limit is 4 people, i have 4 cars. And the last one in the derby, who has smashed all cars gets 10'000$, really need it.
Код:
CMD:derby(playerid, params[]) { new str7[128], player8[MAX_PLAYER_NAME]; GetPlayerName(playerid, player8, sizeof(player8)); format(str7,sizeof(str7),"%s teleportis end derbysse [/derby]",player8); SendClientMessageToAll(COLOR_GREEN,str7); new rand = random(sizeof(D1Rand)); SetPlayerPos(playerid, D1Rand[rand][0], D1Rand[rand][1], D1Rand[rand][2]); SendClientMessage(playerid, COLOR_NGREEN,"Teleportisid end derbysse!"); ResetPlayerWeapons(playerid); nocmd[playerid] = 1; return 1; } |