OnPlayerSpawn issue.
#1

Well, I'm starting my first roleplay gamemode and for some reason when I'm setting the PlayerSpawnPoint it just gives me 16 warnings... Lol. I know they don't effect the script - but I just don't like the idea of having 16 warnings...

pawn Код:
public OnPlayerSpawn(playerid)
{
    SetPlayerPos(playerid, 00,2136.7041,33.7916,26.4215,265.5875,0,0,0,0,0,0);
    GivePlayerMoney(playerid, 1000);
    SendClientMessage(playerid, COLOR_YELLOW, "You have been given $1000 to start off with. Spend it wisely!");
    return 1;
}
Here are my warnings.

pawn Код:
C:\Users\Max Kleinman\Desktop\First RP gamemode\gamemodes\rp.pwn(329) : warning 202: number of arguments does not match definition
C:\Users\Max Kleinman\Desktop\First RP gamemode\gamemodes\rp.pwn(329) : warning 202: number of arguments does not match definition
C:\Users\Max Kleinman\Desktop\First RP gamemode\gamemodes\rp.pwn(329) : warning 202: number of arguments does not match definition
C:\Users\Max Kleinman\Desktop\First RP gamemode\gamemodes\rp.pwn(329) : warning 202: number of arguments does not match definition
C:\Users\Max Kleinman\Desktop\First RP gamemode\gamemodes\rp.pwn(329) : warning 202: number of arguments does not match definition
C:\Users\Max Kleinman\Desktop\First RP gamemode\gamemodes\rp.pwn(329) : warning 202: number of arguments does not match definition
C:\Users\Max Kleinman\Desktop\First RP gamemode\gamemodes\rp.pwn(329) : warning 202: number of arguments does not match definition
C:\Users\Max Kleinman\Desktop\First RP gamemode\gamemodes\rp.pwn(329) : warning 202: number of arguments does not match definition
C:\Users\Max Kleinman\Desktop\First RP gamemode\gamemodes\rp.pwn(931) : warning 215: expression has no effect
C:\Users\Max Kleinman\Desktop\First RP gamemode\gamemodes\rp.pwn(1153) : warning 215: expression has no effect
C:\Users\Max Kleinman\Desktop\First RP gamemode\gamemodes\rp.pwn(1155) : warning 215: expression has no effect
C:\Users\Max Kleinman\Desktop\First RP gamemode\gamemodes\rp.pwn(1195) : warning 217: loose indentation
C:\Users\Max Kleinman\Desktop\First RP gamemode\gamemodes\rp.pwn(1200) : warning 217: loose indentation
Pawn compiler 3.2.3664          Copyright (c) 1997-2006, ITB CompuPhase


13 Warnings.
Yeah... Just managed to get it down to 13!
Reply


Messages In This Thread
OnPlayerSpawn issue. - by mkmk - 26.10.2014, 19:08
Re: OnPlayerSpawn issue. - by Sawalha - 26.10.2014, 19:12
Re: OnPlayerSpawn issue. - by mkmk - 26.10.2014, 19:37
Re: OnPlayerSpawn issue. - by Abagail - 26.10.2014, 19:49
Re: OnPlayerSpawn issue. - by mkmk - 26.10.2014, 19:51
Re: OnPlayerSpawn issue. - by Threshold - 26.10.2014, 23:05
Respuesta: OnPlayerSpawn issue. - by !R1Ch@rD! - 26.10.2014, 23:11

Forum Jump:


Users browsing this thread: 2 Guest(s)