Can anyone help me in my problem - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Can anyone help me in my problem (
/showthread.php?tid=595583)
Can anyone help me in my problem -
CrazyPerry - 04.12.2015
Can anyone help me i get this error's
this is the error's
Код:
D:\Revolution DM\gamemodes\RDM.pwn(27100) : warning 219: local variable "pName" shadows a variable at a preceding level
D:\Revolution DM\gamemodes\RDM.pwn(27101) : error 035: argument type mismatch (argument 2)
D:\Revolution DM\gamemodes\RDM.pwn(27100) : warning 204: symbol is assigned a value that is never used: "pName"
This is code
Код:
stock GetPlayerNameEx(playerid)
{
new pName[25];
GetPlayerName(playerid, pName, 25);
return pName;
}
Can anyone help me?
Re: Can anyone help me in my problem -
Jefff - 04.12.2015
You got somewhere on top variable pName (maybe in some enum?) just change here all pName to for example pNamee
Re: Can anyone help me in my problem -
CrazyPerry - 04.12.2015
Thank you very much