SA-MP Forums

Go Back   SA-MP Forums > Non-English > Languages > Română/Romanian

Reply
 
Thread Tools Display Modes
Old 01/04/2013, 11:47 AM   #1
ah3llboy
Little Clucker
 
Join Date: Jul 2012
Posts: 31
Reputation: 0
Default masini

deci am creat niste masini cu /acreatecar uitati comanda

Quote:
if(strcmp(cmd, "/acreatecar", true) == 0)
{
if(PlayerInfo[playerid][pAdmin] >= 133
{
tmp = strtok(cmdtext, idx);
if(!strlen(tmp))
{
SendClientMessage(playerid, COLOR_GRAD2, "{00A1FF}USAGE{FFFFFF}: /acreatecar [carid] [culoare1] [culoare2] [Pretul]");
return 1;
}
new car;
car = strval(tmp);
if(car < 400 || car > 611) { SendClientMessage(playerid, COLOR_WHITE, " Vehicle Number can't be below 400 or above 611 !"); return 1; }
tmp = strtok(cmdtext, idx);
if(!strlen(tmp))
{
SendClientMessage(playerid, COLOR_GRAD2, "{00A1FF}USAGE{FFFFFF}: /acreatecar [carid] [culoare1] [culoare2] [Pretul]");
return 1;
}
new color1;
color1 = strval(tmp);
if(color1 < 0 || color1 > 126) { SendClientMessage(playerid, COLOR_WHITE, " Color Number can't be below 0 or above 126 !"); return 1; }
tmp = strtok(cmdtext, idx);
if(!strlen(tmp))
{
SendClientMessage(playerid, COLOR_GRAD2, "{00A1FF}USAGE{FFFFFF}: /acreatecar [carid] [culoare1] [culoare2] [Pretul]");
return 1;
}
new color2;
color2 = strval(tmp);
if(color2 < 0 || color2 > 126) { SendClientMessage(playerid, COLOR_WHITE, " Color Number can't be below 0 or above 126 !"); return 1; }
tmp = strtok(cmdtext, idx);
if(!strlen(tmp))
{
SendClientMessage(playerid, COLOR_GRAD2, "{00A1FF}USAGE{FFFFFF}: /acreatecar [carid] [culoare1] [culoare2] [Pretul]");
return 1;
}
si acum daca vreau sa le sterg cum pot? am incercat cu /destroycar si nu merge....
ah3llboy is offline   Reply With Quote
Old 01/04/2013, 12:07 PM   #2
gigicu01
Huge Clucker
 
gigicu01's Avatar
 
Join Date: Dec 2012
Posts: 319
Reputation: 1
Default Re: masini

stergi din cars.cfg ultima masina sau daca ai adaugat 2 de exemplu ultimile 2 si tot asa.
__________________
gigicu01 is offline   Reply With Quote
Old 01/04/2013, 04:27 PM   #3
DyduShxD
Huge Clucker
 
DyduShxD's Avatar
 
Join Date: Jan 2013
Location: PAWNO
Posts: 466
Reputation: 5
Default Re: masini

Ori din cars.cfg ori iti creezi o comanda cu destroycar .. tio sterge doar cate e deschis serveru daca dai rr la srv apare iar
DyduShxD is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Bug la masini uNiKuL Română/Romanian 6 10/01/2013 06:14 AM
Bug Masini RuCy Română/Romanian 10 22/05/2012 06:16 PM
BUG Masini TaVy Română/Romanian 3 17/05/2012 04:09 PM
masini StR_MaRy Română/Romanian 3 23/12/2011 06:27 PM
Masini noi Xaras Română/Romanian 9 26/11/2011 05:05 PM


All times are GMT. The time now is 12:15 PM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.