05.07.2011, 16:03
pawn Код:
new v[MAX_PLAYERS];
// NO COMANDO
if(!strcmp(cmdtext,"/av", true,3))
{
if(v[playerid] != 0 ) return SendClientMessage(playerid, -1,"[INFO]? vocк jб arranjou um veiculo");
if(!strval([cmdtext[5])) return SendClientMessage(playerid, -1,"[INFO] Correto: /av MODELO");
static
Float
:Xiz,
Float
:Ypslo,
Float
:Zez,
Float
:Angulo;
GetPlayerPos(playerid, Float:Xiz, Float:Ypslo, Float:Zez);
GetPlayerFacingAngle(playerid, Float:Angulo);
CreateVehicle(strval([cmdtext[5]), Float:Xiz,Float:Ypslo,Zez,Float:Angulo, -1, -1, 10000)
return 1;
}
pawn Код:
v[playerid] = 0;
Crйditos:
[iPs]Garfield.
abraзos.