18.08.2011, 13:07
Ok i think thats a pretty basic cmd? But i think i have managed to mess it up once agian..
Код:
public OnPlayerCommandText(playerid, cmdtext[]) { if (strcmp("/nrg", cmdtext, true, 10) == 0) { new variable; variable = CreateVehicle(481, 0.0, 0.0, 0.0, 2, 4, 0 ); PutPlayerInVehicle(playerid, variable, 0); return 1; } return 0; }