Need Help
#1

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.
script
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);
    }
Reply
#2

pawn Код:
SetPlayerPos(playerid, x,y,z);
you added more in case 1
Reply
#3

yes and dont double post!

btw i tested it i dont have errors but its not working i just get one case
Reply
#4

Well I Need it Can Someone Make it For ME?
Reply
#5

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);
    }
Reply
#6

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);
    }
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)