Search Results
Actually, There is no need for using "IsPlayerConnected(playerid)", Because we cannot use commands when we are offline ...
Use this:
pawn Код:
if(strcmp(cmd, "/refuelcars", true) == 0){ if(Pl...
112
Quote:
Originally Posted by Dokins
Still unresolved.
Okay, I noticed that you are using "TogglePlayerSpectating(playerid, 1);" on "OnPlayerSpawn", But "OnPlayerSpawn" is used for SpawnP...
59
Quote:
Originally Posted by justice96
I still need to know, what's the fault? I can't understand you.
Okay, Explaining more:
When I go to my server gamemodes folder: "C:\Program Files\D...
140
Hello, When I open pawno and click that folder image to open a .pwn or whatever, I see my .pwn gamemode, But when I go to my server gamemode folder (not in pawno), I see it clear (No files), Why ?
140
Quote:
Originally Posted by Konstantinos
Don't get confused - it's a special action, not an animation.
pawn Код:
SetPlayerSpecialAction(playerid, SPECIAL_ACTION_NONE);
Ah okay, Th...
119
But wait, This function doesn't clear the this anim: SetPlayerSpecialAction(ID, SPECIAL_ACTION_CUFFED);
I already tried to use StopLoopingAnim but the player didn't get un-cuffed.
119
Quote:
Originally Posted by Konstantinos
If you ****** it, you get:
pawn Код:
StopLoopingAnim(playerid){ gPlayerUsingLoopingAnim[playerid] = false; ApplyAnimation(playerid, "...
119
Hello, When I use "StopLoopingAnim" function, It says: undefined symbol: "StopLoopingAnim".
Can someone give me the stock or the include file of it ?
Thanks.
119
Quote:
Originally Posted by JaydenJason
Код:
public OnPlayerGiveDamage(playerid, damagedid, Float:amount, weaponid, bodypart)
{
if(GetPlayerTeam(playerid) == GetPlayerTeam(damagedid))...
118
Hello, I have created two classes, Civilians and Cops.
pTeam[playerid] is for the teams, And the cops team is "teCop".
Can someone help me in making them cannot damage each other? I mean If Cop1 shoo...
118
Quote:
Originally Posted by sammp
How can I know where the file is saved if I ain't got no goddamned code?
There is no code in my gamemode script to make the files save in specified fil...
146
Hello, I'm using udb system to save accounts.
I register an account, But I do not find in scriptfiles folder, But when I reconnect, I see that the account is registered and the stats are saved, How ca...
146
Quote:
Originally Posted by dominik523
With the help of:
https://sampwiki.blast.hk/wiki/TogglePlayerSpectating
After the login, just use false as the second parameter.
Okay thank you a ...
98
Hello, Can someone tell me how can I hide the class selection for a player when he connects, And show him the class selection after answering a dialog ?
98
Quote:
Originally Posted by Devon007
Rocket Object ID YOU MEAN ROCKET LAUNCHER ?
No, Anyways solved:
https://sampforum.blast.hk/showthread.php?tid=286276
147
Hello, Anyone knows the rocket object ID ? I'm not talking about the RPG one, I want an object one (Green and white as I remember).
I do not know what is its name exactly, And I couldn't find it in W...
147
Quote:
Originally Posted by Antoniohl
Huh.. lol delete those codes i will just make another one, be patient.
EDIT: i've made it but there's something missing i can't figure it out, actual...
230