SA-MP Forums Archive
strdel doesn't work o.O - 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)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: strdel doesn't work o.O (/showthread.php?tid=74627)



strdel doesn't work o.O - Bearfist - 24.04.2009

I added a strdel code to my script like this-->

Код:
GetPlayerName(playerid, Name, sizeof(Name));
strdel(string,0,7);
SetPlayerName(playerid, Name);
But I wouldn't work...

Need help =)

MFG Bearfist


Re: strdel doesn't work o.O - pspleo - 24.04.2009

You save the name to array "Name". But you use strdel on "string"? Wouldn't it be "Name"?

Leopard


Re: strdel doesn't work o.O - Bearfist - 24.04.2009

I added ...
but it changed nothing.. =(
Any Ideas ?

MFG Bearfist

.......Anyone??