30.12.2013, 17:04
Cуdigo correto.
PHP код:
new DinheiroBanco,
DinheiroCarro,
Nome[MAX_PLAYER_NAME];
CMD:deixargrana(playerid){
if(!PlayerToPoint(5.0, playerid, x, y, z)) return SendClientMessage(playerid,-1,"Vocк nгo estб no local de descarga do banco.");
GetPlayerName(playerid, Nome, sizeof(Nome));
static str[128];
format(str,sizeof(str),"%s e o carro forte estгo deixando %d no banco.", Nome, DinheiroCarro);
SendClientMessageToAll(-1 ,str);
DinheiroBanco += DinheiroCarro;
DinheiroCarro = 0;
return true;
}