15.06.2016, 17:45
hello, i hope that anyone of you can help me 
this command does not work correctly

this command does not work correctly

pawn Code:
if (strcmp(cmd, "/phnumber", true) == 0)
{
new string[40];
new phnumber[20];
switch(PlayerInfo[targetid][pPnumber])
{
default: phnumber = "None";
}
format(string, sizeof(string), "Your phone number is %d",phnumber);
SendClientMessage(playerid, COLOR_GREY,string);
return 1;
}