Help Me Pleassseeee
#1

Hello
I've Got A Problem Here

Код:
C:\SA-MPServer\Indonesian XpertS Gaming Test\filterscripts\HPTelkomsel(IND).pwn(85) : error 035: argument type mismatch (argument 1)
C:\SA-MPServer\Indonesian XpertS Gaming Test\filterscripts\HPTelkomsel(IND).pwn(87) : error 035: argument type mismatch (argument 1)
C:\SA-MPServer\Indonesian XpertS Gaming Test\filterscripts\HPTelkomsel(IND).pwn(89) : error 033: array must be indexed (variable "targetid")
Код:
new targetid[MAX_PLAYERS];
new AngkatTelepon[MAX_PLAYERS];
Код:
85 if(IsPlayerConnected(targetid))
87 SendClientMessage(targetid, 0xFFFFFFFF, "Ketik /answer untuk mengangkat telepon");
89 AngkatTelepon[targetid] = 1;
Please Help MEEE
Reply
#2

You are using any command for this code?
Reply
#3

PHP код:
if(IsPlayerConnected(targetid[playerid]))
SendClientMessage(targetid[playerid], 0xFFFFFFFF"Ketik /answer untuk mengangkat telepon");
AngkatTelepon[targetid[playerid]] = 1
Tho, i know you are doing something wrong. It can compile it but the code won't work. Use strval(params) or sscanf.
Reply
#4

Idk how to change that but i know and have sscanf
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)