1 freakin' error
#4

Your welcome.

EDIT:

Hmm, I noticed this:

PHP код:
%d/%d/%s",reason,pName2,Month, Date, YEAR_string); 
It actually should be:

PHP код:
%d/%d/%d",reason,pName2,Month, Date, YEAR_string); 
Why did I change %s to %d?

Because "Date" is an integer not a string, remember that an Integer is a set of number(s).

%s = String.

%d = Integer.

%i = Integer.

%f = Float.

Floats are like this: "634.423". You can use them with "new Float: x" for example.

"new Float: x, Float: y, Float: z;"
"GetPlayerPos(playerid, x, y ,z);"
"new string[55];"
"format(string,sizeof(string), "Pos X : %f , Pos Y: %f , Pos Z: %f ", x, y, z);
"SendClientMessage(playerid, -1, string);"
"return 1;"

I hope you got it.
Reply


Messages In This Thread
1 freakin' error - by eMapper - 27.10.2012, 14:37
Re: 1 freakin' error - by gtakillerIV - 27.10.2012, 14:41
Re: 1 freakin' error - by eMapper - 27.10.2012, 14:42
Re: 1 freakin' error - by gtakillerIV - 27.10.2012, 14:43
Re: 1 freakin' error - by eMapper - 27.10.2012, 15:00
Re: 1 freakin' error - by gtakillerIV - 27.10.2012, 15:04
Re: 1 freakin' error - by eMapper - 27.10.2012, 15:08
Re: 1 freakin' error - by gtakillerIV - 27.10.2012, 15:16
Re: 1 freakin' error - by eMapper - 27.10.2012, 15:16

Forum Jump:


Users browsing this thread: 2 Guest(s)