SA-MP Forums Archive
strcpy 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: strcpy problem (/showthread.php?tid=326434)



strcpy problem - rati555 - 17.03.2012

pawn Код:
strcpy(PlayerInfo[playerid][pMail],inputtext,128);
Errors:
Код:
serv.pwn(2052) : error 001: expected token: ")", but found "["
serv.pwn(2052) : warning 215: expression has no effect
serv.pwn(2052) : error 001: expected token: ";", but found "]"
serv.pwn(2052) : error 029: invalid expression, assumed zero
serv.pwn(2052) : fatal error 107: too many error messages on one line



Re: strcpy problem - ReneG - 17.03.2012

Have you made your own strcpy function? It is not in the Pawn version used for SAMP.