Jump to content
  • 0

culoare pentru nrg


shaun

Question

am si yo codu' asta pt nrg, te pune pe un motor nrg :

if (strcmp("/nrg", cmdtext, true, 10) == 0)
if(GetPlayerMoney(playerid) >= 100)
{
new vehicleid;
new Float:X,Float:Y,Float:Z,Float:Angle;
GetPlayerPos(playerid,X,Y,Z);
GetPlayerFacingAngle(playerid,Angle);
GetPlayerVehicleID(playerid);
vehicleid = CreateVehicle(522,X,Y,Z,Angle,-1,-1,600);
vehicleid = PutPlayerInVehicle(playerid, vehicleid, 0);
GivePlayerMoney(playerid, -100);
GameTextForPlayer(playerid, "Te-a costat 100 dolari!", 3000, 0);
return 1;
}

Cum fac ca cele 2 culori sa fie mov si alb?

u78ch.jpg

CHECK MY CHANNEL!

http://www.youtube.com/user/amysoica

Link to comment
Share on other sites

5 answers to this question

Recommended Posts

problema este ca de fiecare data cand scriu /nrg apar alte culori :( repet codul este

if (strcmp("/nrg", cmdtext, true, 10) == 0)
if(GetPlayerMoney(playerid) >= 100)
{
new vehicleid;
new Float:X,Float:Y,Float:Z,Float:Angle;
GetPlayerPos(playerid,X,Y,Z);
GetPlayerFacingAngle(playerid,Angle);
GetPlayerVehicleID(playerid);
vehicleid = CreateVehicle(522,X,Y,Z,Angle,21,1,600);
PutPlayerInVehicle( playerid, vehicleid, 0 );
GivePlayerMoney(playerid, -100);
GameTextForPlayer(playerid, "Te-a costat 100 dolari!", 3000, 0);
return 1;
}

u78ch.jpg

CHECK MY CHANNEL!

http://www.youtube.com/user/amysoica

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.