21.08.2014, 19:34
I am getting 3 warning from Pawno and I'm not sure what they mean, the game mode is doing exactly what I want. I am just OCD about them. Syntax error? I'm working with the new script given in Pawno. I apologize if I am bringing up an answered topic.
C:\Users\chris\Downloads\samp03z_svr_R4_win32\game modes\StreetDM.pwn(4 : warning 202: number of arguments does not match definition
C:\Users\chris\Downloads\samp03z_svr_R4_win32\game modes\StreetDM.pwn(49) : warning 202: number of arguments does not match definition
C:\Users\chris\Downloads\samp03z_svr_R4_win32\game modes\StreetDM.pwn(50) : warning 213: tag mismatch
3 Warnings.
The Code:
public OnPlayerRequestClass(playerid, classid)
{
SetPlayerPos(playerid, 2442.6914,-1663.4183,27.1443,264.0869);
SetPlayerCameraPos(playerid, 2442.6914,-1663.4183,27.1443,264.0869);
SetPlayerCameraLookAt(playerid, 2442.6914,-1663.4183,27.1443,264.0869);
return 1;
}
C:\Users\chris\Downloads\samp03z_svr_R4_win32\game modes\StreetDM.pwn(4 : warning 202: number of arguments does not match definition
C:\Users\chris\Downloads\samp03z_svr_R4_win32\game modes\StreetDM.pwn(49) : warning 202: number of arguments does not match definition
C:\Users\chris\Downloads\samp03z_svr_R4_win32\game modes\StreetDM.pwn(50) : warning 213: tag mismatch
3 Warnings.
The Code:
public OnPlayerRequestClass(playerid, classid)
{
SetPlayerPos(playerid, 2442.6914,-1663.4183,27.1443,264.0869);
SetPlayerCameraPos(playerid, 2442.6914,-1663.4183,27.1443,264.0869);
SetPlayerCameraLookAt(playerid, 2442.6914,-1663.4183,27.1443,264.0869);
return 1;
}