30.10.2013, 23:18
So on public OnPlayerConnect(playerid) I have that a song plays till you clicked spawn.
Can I set different songs so it's like a different song everytime you relog?
Code currently:
Can I set different songs so it's like a different song everytime you relog?
Code currently:
Код:
public OnPlayerConnect(playerid) { for (new i = 0; i < 4; i ++) { DriveThruItems[playerid][i] = 0; } if(Security != 0) { SendClientMessage(playerid, COLOR_YELLOW, "Host has broken one of the Agreement rules, action has been taken."); Kick(playerid); return 1; } gPlayerLoggin{playerid} = 1; TextDrawShowForPlayer(playerid, Website); gPlayerAnimLibsPreloaded[playerid] = 0; gActivePlayers[playerid]++; ShowArea(playerid); numplayers++; Spawned[playerid] = 0; BusID[playerid] = 0; BusCost[playerid] = 0; PlayerSitting[playerid] = 0; PlayAudioStreamForPlayer(playerid,"not necessary atm for you guys ;p");