[help with Freeze / unfreeze command]
#1

[SOLVED]

Problem is Solved
Reply
#2

Where your a_samp include is, did you execute the function: new reason

??
Reply
#3

how do you mean?
Reply
#4

reason has to be a string. use
pawn Код:
new string[64];
and replace the z with an s in your sscanf line..
pawn Код:
if(sscanf(params, "us", ID, reason))
Reply
#5

You had the function messed up, every new function has to be a string like ^ he said.
+ Rep
Reply
#6

pawn Код:
new string[200]; <--- they are?
Reply
#7

Here
pawn Код:
new reason[128];
if(sscanf(params, "us[128]", ID, reason)) return SendClientMessage(playerid, COLOR_RED, "Usage: /freeze (ID) (reason)");
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)