Jump to content
  • 0

cum fac?


Andr3y

Question

Cum fac ca atunci cand cineva da /vama sa ii ia 2500 $ ?

comanda este aceasta :

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

{

MoveObject(gate,625.89111328125, -1184.0915527344, 27.495820999146,3.5);

SendClientMessage(playerid,COLOR_GREEN,"Poarta deschisa");

SendClientMessage(playerid,COLOR_PURPLE,"Poarta se va inchide in 5 secunde");

SetTimer("gateclose", 7000, 0);

return 1;

ce trebuie sa mai adaug?

Snapshot_2012_03_07_003934.jpg
Link to comment
Share on other sites

3 answers to this question

Recommended Posts

Guest farse

desi e cu gf..

if (strcmp("/vama", cmdtext, true, 10) == 0)
 {
 MoveObject(gate,625.89111328125, -1184.0915527344, 27.495820999146,3.5);
 GivePlayerMoney(playerid,-2500 );
 SendClientMessage(playerid,COLOR_GREEN,"Poarta deschisa");
 SendClientMessage(playerid,COLOR_PURPLE,"Poarta se va inchide in 5 secunde");
 SetTimer("gateclose", 7000, 0);
 return 1;
}

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.