Jump to content
  • 0

pomoc Warpnuti moto


Guest Freesmil

Dotaz

no chcu aby sa mi warpla moto kdyz napisu napr. /nrg ale tento prikaz mi haze errory pls porade

error : (316) : warning 202: number of arguments does not match definition

dopredu dik

 

 

///NRG

if (strcmp(cmdtext, "/NRG", true) == 0)

{

GetPlayerVehicleID(playerid, 522); (radek 316)

{

SendClientMessage(playerid, COLOR_GREEN, "Warpnul sis NRG500");

}

return 1;

}

Link to comment
Share on other sites

2 odpovědí na tuto otázku

Recommended Posts

  • 0

jestli chceš když napises /nrg aby se ti warpla motorka před sebe tak to udělej takto :

 

if (strcmp("/nrg", cmdtext, true) == 0){
new Float:X,Float:Y,Float:Z;
GetPlayerPos(playerid,X,Y,Z);
CreateVehicle(522,X+2,Y+2,Z,0,-1,-1,600);
return 1;
}

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...