Jump to content
Autentificarea cu Google și Facebook nu mai este disponibilă. ×

Question

Posted

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

3 answers to this question

Recommended Posts

Guest farse
Posted

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;
}

Guest farse
Posted

...

if(GetPlayerMoney(playerid)<2500)return SendClientMessage(playerid,~0,"Nu ai destui bani!");

...

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.