Search Results
It keeps sending players back to the selection screen after death, but I would like them to just keep spawning until F4. I don't ForceClassSelection for them, I tried SpawnPlayer in OnPlayerDeath but ...
63
Quote: Originally Posted by FUNExtreme Have you tried adding debug messages inside the code between "Death1" and "Death2". The reason I ask this is because I see no reason why "Death2" sh...
95
I keep having issues with this callback where it just stops at an if statement and doesn't continue, I have something like: Код: public OnPlayerDeath(playerid, killerid, reason) { print("...
95
You know when someone hits Esc, and it shows them continuing to drive from everyone else's perspective, but then they unpause, and the abuser is way behind them, generally after jumping a ramp over a ...
109
The people flying around in cars, is this easy to detect? I looked at two or three popular anti-cheats and none of them included this.
56
move new Float:depotgateright; and new Float:depotgateleft; above OnFilterScriptInit that will fix all but one pawn Код: new Float:depotgateright;new Float:depotgateleft;public OnFilterScriptInit...
61
the first error is on line 14243, it doesn't have the ; its looking for pawn Код: new skin = PlayerInfo[playerid][pModel]; the other two i believe you just need to put [playerid] after the pduty...
119
howdy doody partner, not sure if this best way but you can do something like pawn Код: new SendToClassSelection[MAX_PLAYERS] = 0; pawn Код: public OnPlayerRequestClass(playerid, classid){  ...
76
so its like, how come 90% of the server admins on sa-mp arent qualified for the job, its like they either power trippers and do the mute freeze jail kick ban thing to everyone that comes in, or they d...
172
pawn Код: public UpdateScore(){    for (new i = 0; i < MAX_PLAYERS; i++)    {        GetPlayerScore(newscore);        oldscore = GetPlayerScore(i);        newscore = oldscore + ...
176
Quote: Originally Posted by Ownzer I have an error error 022: must be lvalue (non-constant) what line, im guessing its setplayerscore?
176
https://sampwiki.blast.hk/wiki/GetPlayerIp look at the example
267
something simple like.. pawn Код: forward UpdateScore(); pawn Код: public OnGameModeInIt(){    SetTimer("UpdateScore",60000,1);    return 1;} pawn Код: public UpdateScore(){    for ...
176
this is tricky for me, but i did run across "HexToInt", maybe this will get you started, you could read more about it to try and figure it out. pawn Код: stock HexToInt(string[])    {      Â...
63
you havnt added an open bracket to your second command example. { pawn Код: if(strcmp(cmdtext, "/bmx", true) == 0)    {        SetPlayerPos(playerid,2806.047851, -1066.034179, 94.187072); ...
146
maybe something like this? pawn Код: new Mute[MAX_PLAYERS]; pawn Код: public OnPlayerText(playerid, text[]){    if(Mute[playerid] == 1)    {        return 0;    }    if(strcmp(te...
72
Quote: Originally Posted by Abernethy Ah don't worry, guys, I'll do a shitload of searching. i think you were on the right track, although this might not be working, something like pa...
177
Quote: Originally Posted by BLACK-RIDER-1692 same even after changing the 9?
181
Quote: Originally Posted by BLACK-RIDER-1692 Quote: Originally Posted by happyface are you saying you dont want that "yo"? jes if i write /gamesay0 ~g~you onli you not /gam...
181