Lil problem
#1

i get
pawn Код:
D:\Users\Tanush\Desktop\SA-MP Server Stunt\gamemodes\Vercetti.pwn(747) : warning 202: number of arguments does not match definition
D:\Users\Tanush\Desktop\SA-MP Server Stunt\gamemodes\Vercetti.pwn(748) : warning 202: number of arguments does not match definition
D:\Users\Tanush\Desktop\SA-MP Server Stunt\gamemodes\Vercetti.pwn(756) : warning 202: number of arguments does not match definition
Pawn compiler 3.2.3664          Copyright (c) 1997-2006, ITB CompuPhase


3 Warnings.
in compile

Line 747:
pawn Код:
if(GetPlayerHealth(playerid) == 100) return SendClientMessage(playerid,red,"ERROR: You are too full to eat snacks.");
Line 748:
pawn Код:
SetPlayerHealth(playerid,GetPlayerHealth(playerid)+20);
Line 756:
pawn Код:
if(GetPlayerHealth(playerid) == 100) return SendClientMessage(playerid,red,"ERROR: You are too full to drink sprunk.");
Reply
#2

The function GetPlayerHealth doesn't return a value. Check the SA:MP Wikipedia example here.
Reply
#3

thank you
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)