03.04.2013, 22:03
Hello, I created a nice tutorial system that sometimes makes me whims, and not spawn in the exact spot (airport), the gameplay is roleplay and the script is a little put at random.
Thank's a lot!
Код:
if(PlayerInfo[playerid][pRegistered] == 0) { TogglePlayerControllable(playerid,1); PlayerInfo[playerid][pLevel] = 1; PlayerInfo[playerid][pBank] = 0; PlayerInfo[playerid][pSkin] = 29; PlayerInfo[playerid][pCash] = 0; gPlayerLogged[playerid] = 1; SetPlayerPos(playerid,-1828.8499,18.3889,1061.1436); SetPlayerInterior(playerid, 14); SetPlayerVirtualWorld(playerid, 0); SpawnPlayer(playerid); SpawnAereoporto[playerid] = 1; SetPlayerCash(playerid,PlayerInfo[playerid][pCash]); ShowPlayerDialog(playerid,19,DIALOG_STYLE_INPUT,"Etа","Quanti anni vuoi avere? Digita un etа tra 1 a 100 anni","Avanti","Annulla"); PlayerPlaySound(playerid, 1069, 0.0, 0.0, 0.0); }