Search Results
Why dont u use "IsPlayerInRangeOfPoint" , that would be easier!
Код:
if(IsPlayerInRangeOfPoint(playerid, 10.0,1367.1448,-1290.2589,13.5469))//id,distance,axes
{
if(IsAllowedToUse...
58
Could u specify ur needs a bit more?
Clan script = faction/gang scripting?? or sth. else?
83
Could u specify the way of accepting the armor/guard?
like i said i am new to all this
And thx at tommy that was the reason for the error!
134
I dont think thats the way to fix my problem, caus in this way the player(who got the offer), wouldnt have to write a command back to the bodyguard in order to accept.
Wasnt there a include with a ca...
134
Код:
ocmd:armor(playerid,params[])
{
new pID,amount,string[128];
if(sscanf(params,"ui",pID,amount))SendClientMessage(playerid,COLOR_RED, "/armor ID Amount");
format(string,sizeof(string),"%s of...
134
How should it work:
I am typing in an command like ((/armor ID Amount)), the id i typed in will get a client message like((My Name offers u protection for 2000$)). So the player can accept it by typi...
134
Error message:
Код:
expected token: "-string end-", but found "-identifier-"
My code:
Код:
if((inputtext)== "Male" || (inputtext)== "Female")
{
Register(playerid, inputtext);
}
How to f...
112
Код:
Bodyguard1 = CreatePickup(1239, 1,1367.1448,-1290.2589,13.5469, 0);
above this i made the variable
Код:
new Bodyguard1;
hope it helps!
125
But whats up, if he leaves the pickup for a moment? It gets destroyed and the player has to kill himself or wait for a few minutes to get the job!
is this the only way?? or is sth in the script wron...
125
1. OnPlayerPickup spams:
Код:
public OnPlayerPickUpPickup(playerid, pickupid)
{
if(pickupid==Bodyguard1)
{
SendClientMessage(playerid,COLOR_LIGHTBLUE,"Type in /getjob to become a b...
125
The code gave me some errors, but that not a problem!!
U helped me alot with "IsPlayerInRangeOfPoint" i will use this!!
thx again for your help
Pancake
139
Quote:
Originally Posted by Raimis_R
Like this?
pawn Код:
if(pickupid==Bodyguard1){ pInfo[playerid][Job]=1; SendClientMessage(playerid,-1,"You Entered Bodyguard1, your Job it'...
139
First of all i want to greet everyone on here(first post on here)!
And now to the topic:
Код:
new Bodyguard1;
public OnGameModeInit()
{
Bodyguard1 = CreatePickup(1239, 23,1367.1448,-1290.25...
139