Jump to content
  • 0

Problema /nrg!


DanielBz

Question

7 answers to this question

Recommended Posts

Uite comanda merge 100%

CMD:nrg( playerid, params[ ] )

{

if(IsPlayerInAnyVehicle(playerid)) return Info( playerid, "~r~~h~Already drive a car. ~b~~h~Out of the car and try again.");

Info( playerid, "Personal ~b~~h~NRG-500~w~ succesfully created" );

aCreateThing(playerid, 522, 191);

PlayerPlaySound(playerid, 1139, 0.0, 0.0, 0.0);

return 1;

}

Link to comment
Share on other sites

Esti incepator?  :rolleyes:

Dai COPY + PASTE sub OnPlayerCommandText ;)

[pawn]{

if (strcmp("/nrg", cmdtext, true, 10) == 0)

{

new Float:X,Float:Y,Float:Z;

    GetPlayerPos(playerid,X,Y,Z);

    PutPlayerInVehicle(playerid,CreateVehicle(522,X,Y,Z,0,-1,-1,-1),0);

    GameTextForPlayer( playerid, "~w~~n~~n~~n~~n~~n~~n~UN TEXT~n~~b~~h~UN TEXT", 7000, 3 );

// Do something here

return 1;

}[/pawn]

kAdmin progress - 84%

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.