SA-MP Forums Archive
Help in car... - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Help in car... (/showthread.php?tid=338720)



Help in car... - Emil123 - 30.04.2012

When i go in a car i can't type any commands i can only say in T ~ ... but when i get out from the car i can type commands what is the problemm?? please help me


Re: Help in car... - sscarface - 30.04.2012

ur gm is error "lose ***etc"


Re: Help in car... - Emil123 - 30.04.2012

what i won'd understant lose ***... ?
i have no errors...


Re: Help in car... - MP2 - 30.04.2012

Quote:
Originally Posted by sscarface
Посмотреть сообщение
ur gm is error "lose ***etc"
So helpful.

Please explain your problem properly.


Re: Help in car... - Emil123 - 01.05.2012

What must i explain just when i go into a car my commands are unposible i can't type commands just /me /try... and when i go out from the car i can type all commands /o /ao /kick ... and more what must i give? no errors.


Re: Help in car... - varga - 01.05.2012

Can u post an example of your cmds?


Re: Help in car... - Emil123 - 02.05.2012

if(!strcmp(cmdtext, "/hidenumber", true))
{
if(IsPlayerConnected(playerid))
{
if(PlayerInfo[playerid][pPnumber] == 0)
{
SendClientMessage(playerid, COLOR_WHITE, "MyText here(it's on Macedonian language i deleted it..).");
return 1;
}
if(PlayerInfo[playerid][pDonateRank] == 0)
{
SendClientMessage(playerid, COLOR_WHITE, "Text Text...!");
return 1;
}
if(PlayerInfo[playerid][pHideNumber] == 0)
{
SendClientMessage(playerid, COLOR_WHITE, "Your number is hide.......");
PlayerInfo[playerid][pHideNumber] = 1;
return 1;
}
if(PlayerInfo[playerid][pHideNumber] == 1)
{
SendClientMessage(playerid, COLOR_WHITE, "........Text....");
PlayerInfo[playerid][pHideNumber] = 0;
return 1;
}
}
return 1;
}




//----------------------------------[ Nitro ]-----------------------------------------------//
if(strcmp(cmd, "/nitro", true) == 0)
{
if(IsPlayerConnected(playerid))
{
if (PlayerInfo[playerid][pAdmin] >= 1 || PlayerInfo[playerid][pGameMaster] >= 2)
{
new vehicleid;
vehicleid = GetPlayerVehicleID(playerid);
AddVehicleComponent(vehicleid, 1010);
SendClientMessage(playerid, WHITE,"{37F906}INFO:{FFFFFF}You have putet nitro on your caravtomobilot.");
}
else
{
SendClientMessage(playerid, WHITE,"{FF0000}GRESKA:{FFFFFFyou are not authorised......");
return 1;
}
}
return 1;
}

here


Re: Help in car... - Emil123 - 03.05.2012

ok i fixed it allone