Basic Help for Beginner
#1

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

In each function you have four floats - three are needed. Remove last float from each function.
Reply
#3

Quote:
Originally Posted by ball
Посмотреть сообщение
In each function you have four floats - three are needed. Remove last float from each function.
Thank you.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)