Why do I keep geting this warning?
#1

Here's my current command

pawn Код:
COMMAND:work(playerid, cmdtext)
{
    SetPlayerPos(playerid, 817.0552, 857.0133, 12.7891);
    SendClientMessage(playerid, blue, "Welcome to work!");
    PutPlayerInVehicle(playerid, 498, 0);
    SetPlayerCheckpoint(playerid, -2666.7739,637.4879,14.4531);
    return 1;
}
And heres the warning


Quote:

C:\Documents and Settings\Lucas\Desktop\FutreJob\TestJob.pwn(242) : warning 202: number of arguments does not match definition
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


1 Warning.

It's happening on the line where SetPlayerCheckpoint is, what am I doing wrong?
Reply
#2

You forgot the size.
Reply
#3

Quote:
Originally Posted by Jack_Leslie
Посмотреть сообщение
Oh, duh. Thanks bro.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)