Posts: 701
Threads: 91
Joined: Mar 2012
Hey im making 2 cmds. /camera and other /parachute.
1.Camera : It gives Camera
2./parachute : It gives parachute
Can someone tell me how to give Player all these thing ??/
Tell me ASAP !!
Posts: 701
Threads: 91
Joined: Mar 2012
Posts: 975
Threads: 78
Joined: Feb 2012
Reputation:
0
It may cause problems and isn't a good code anyways!
Posts: 701
Threads: 91
Joined: Mar 2012
Guys im getting errors can u put them in this script :
Код:
#include <a_samp>
//beacon
public OnPlayerCommandText( playerid, cmdtext[ ] )
{
if(strcmp(cmdtext, "/beacon", true) == 0)
{
if(!IsPlayerInAnyVehicle(playerid))
{
SendClientMessage(playerid,0xFFFFFFFFF,"You Need to be in vehicle !");
}
else
{
SetPlayerColor(playerid, 0xFFFF00FF);
SendClientMessage(playerid,0xFFFFFFFFF,"You are Beacon !");
}
return 1;
}
return 0;
}
Thx
Posts: 975
Threads: 78
Joined: Feb 2012
Reputation:
0
First of all, indent your code, it is horrible difficult to see what's where. Secondly, what are your errors and on which line do they appear?
Posts: 925
Threads: 36
Joined: Dec 2009
Reputation:
0
I just laughed hardly on this one. I remember the good old times when noobs were 'rewarding' people for helping them with money. Now they just rep that person and they get whatever they want. Dudes, WTF? That's not even a fucking gamemode. It has only one callback God damn it.