SA-MP Forums

Go Back   SA-MP Forums > SA-MP Scripting and Plugins > Scripting Help

Reply
 
Thread Tools Display Modes
Old 30/04/2012, 09:35 PM   #1
Emil123
Big Clucker
 
Join Date: Mar 2012
Posts: 102
Reputation: 1
Default Help in car...

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
Emil123 is offline   Reply With Quote
Old 30/04/2012, 09:37 PM   #2
sscarface
Gangsta
 
Join Date: Apr 2012
Posts: 525
Reputation: 7
Default Re: Help in car...

ur gm is error "lose ***etc"
__________________
Scripting a server.
sscarface is offline   Reply With Quote
Old 30/04/2012, 09:41 PM   #3
Emil123
Big Clucker
 
Join Date: Mar 2012
Posts: 102
Reputation: 1
Default Re: Help in car...

what i won'd understant lose ***... ?
i have no errors...
Emil123 is offline   Reply With Quote
Old 30/04/2012, 09:59 PM   #4
MP2
Godfather
 
MP2's Avatar
 
Join Date: Jan 2011
Location: England
Posts: 6,237
Reputation: 1004
Default Re: Help in car...

Quote:
Originally Posted by sscarface View Post
ur gm is error "lose ***etc"
So helpful.

Please explain your problem properly.
__________________
Owner and developer of Mike's Cops and Robbers.

Click here to visit our site and find out more. Click here to view trailers.
Enter referral code SAMPFORUM after registering for a $5000 starting bonus!
MP2 is offline   Reply With Quote
Old 01/05/2012, 06:24 PM   #5
Emil123
Big Clucker
 
Join Date: Mar 2012
Posts: 102
Reputation: 1
Default Re: Help in car...

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.
Emil123 is offline   Reply With Quote
Old 01/05/2012, 07:07 PM   #6
varga
Big Clucker
 
Join Date: Jan 2012
Location: Hungary
Posts: 130
Reputation: 12
Default Re: Help in car...

Can u post an example of your cmds?
varga is offline   Reply With Quote
Old 02/05/2012, 09:31 AM   #7
Emil123
Big Clucker
 
Join Date: Mar 2012
Posts: 102
Reputation: 1
Default Re: Help in car...

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
Emil123 is offline   Reply With Quote
Old 03/05/2012, 08:39 AM   #8
Emil123
Big Clucker
 
Join Date: Mar 2012
Posts: 102
Reputation: 1
Default Re: Help in car...

ok i fixed it allone
Emil123 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



All times are GMT. The time now is 05:44 AM.


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