[POMOC] - Oko komande

Započeo elemental., Avgust 31, 2011, 15:57:41 POSLE PODNE

prethodna tema - sledeća tema

0 članova i 1 gost pregledaju ovu temu.

Skripta koju koristim: FS RC-Zero Shop
Detaljan opis problema: Ovako, kupim u RC shopu RC Bandit, odem vanka, kucam /userc, nece mi. Kaze da prvo moram kupiti RC u RC shopu.
Dio skripte:


if(!strcmp(cmdtext,"/userc",true))
{
new Float:pPos[4];
if(!dini_Exists(pData[playerid][pRcFile])) { return SendClientMessage(playerid,0xFAFAFAFF,"Nemas RC vozilo, kupi ga u RC shopu."); }
    if(GetPlayerWantedLevel(playerid) > 0) { return SendClientMessage(playerid,0xFAFAFAFF,"Ne mozes koristiti svoje RC vozilo jer imas Wanted Level!"); }
if(pData[playerid][pRcVehID]!=0) { return 1; }
GetPlayerPos(playerid,pPos[0],pPos[1],pPos[2]);
GetPlayerFacingAngle(playerid,pPos[3]);
pData[playerid][pRcVehID] = AddStaticVehicle(dini_Int(pData[playerid][pRcFile],"rcModel"),pPos[0],pPos[1],pPos[2],pPos[3],3,1);
PutPlayerInVehicle(playerid,pData[playerid][pRcVehID],0);
SendClientMessage(playerid,0x33CCFF00,"Koristi /exitrc da izadjes iz svog RC vozila !");
return 1;