SA-MP Forums Archive
Need some help - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Need some help (/showthread.php?tid=239368)



Need some help - BizzyD - 13.03.2011

Solved it, delete plz


Re: Need some help - alpha500delta - 13.03.2011

You forgot

pawn Код:
return 1;
At the end of the callback.


Re: Need some help - Roomeo - 13.03.2011

Help Me Too Pleaze
pawn Код:
I:\Games\RockStar Game Gta San Andreas\Gta Sanandreas\My Script\gamemodes\MyScript.pwn(1284) : warning 202: number of arguments does not match definition
Pawn compiler 3.2.3664          Copyright (c) 1997-2006, ITB CompuPhase


1 Warning.
pawn Код:
public OnPlayerDeath(playerid, killerid, reason)
{
    switch(random(2))   {
    case 0:SetPlayerPos(playerid, -2512.3667,-266.4278,38.9365);
    case 1:SetPlayerPos(playerid, 2134.5957,1332.6907,10.8251,85.5904);
    }



Re: Need some help - alpha500delta - 13.03.2011

Dude stop asking questions completely offtopic in random topics...
Anyway this will fix it:

pawn Код:
public OnPlayerDeath(playerid, killerid, reason)
{
    switch(random(2))   {
    case 0:SetPlayerPos(playerid, -2512.3667,-266.4278,38.9365);
    case 1:SetPlayerPos(playerid, 2134.5957,1332.6907,10.8251);
}