number of arguments does not match definition
#1

I'm trying to fix two days, you can not .. can someone tell me what you hear in the code below and help me fix it?

Код:
C:\Users\w\Desktop\gamemode\gamemodes\w.pwn(5602) : warning 202: number of arguments does not match definition
C:\Users\w\Desktop\gamemode\gamemodes\w.pwn(5609) : warning 202: number of arguments does not match definition
PHP код:
            SetSpawnInfo(playerid1PlayerInfo[playerid][pChar], RadomCama[rand][0], RadomCama[rand][1], RadomCama[rand][2], 180.435000000); //error linha 1
            
SetSpawnInfo(playerid1PlayerInfo[playerid][pChar], RadomCamaLS[rand][0], RadomCamaLS[rand][1], RadomCamaLS[rand][2], RadomCamaLS[rand][3], 00000); //error linha 2 
Reply
#2

you didn't put "weapon3_ammo" parameter
check "SetSpawnInfo" parameters: https://sampwiki.blast.hk/wiki/SetSpawnInfo

Fixed:

pawn Код:
SetSpawnInfo(playerid, 1, PlayerInfo[playerid][pChar], RadomCama[rand][0], RadomCama[rand][1], RadomCama[rand][2], 180.4350, 0, 0, 0, 0, 0, 0);

SetSpawnInfo(playerid, 1, PlayerInfo[playerid][pChar], RadomCamaLS[rand][0], RadomCamaLS[rand][1], RadomCamaLS[rand][2], RadomCamaLS[rand][3], 0, 0, 0, 0, 0, 0);
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)