- 0
local variable "playermoney" shadows a variable at a preceding level
-
Similar Content
-
- 0 replies
- 1,292 views
-
- 0 replies
- 263 views
-
-
Recently Browsing 0 members
- No registered users viewing this page.
We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.
Question
Bladex
De la warningul accesta nu porneste sv ajutatima putin va rog frumos!
D:\GM SAMP\samp03\gamemodes\newi.pwn(14522) : warning 219: local variable "playermoney" shadows a variable at a preceding level
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
1 Warning.
aceasta este linie
[pawn] new playermoney;[/pawn]
acesta este de jos si de sus: d
[pawn]public OnPlayerCommandText(playerid, cmdtext[])
{
new string[256];
new playermoney;
new sendername[MAX_PLAYER_NAME];
new giveplayer[MAX_PLAYER_NAME];
new playername[MAX_PLAYER_NAME];
new cmd[256];
new tmp[256];
new giveplayerid, moneys, idx;
cmd = strtok(cmdtext, idx);
new is1=0;
new r=0;
while(strlen(cmdtext[is1]))[/pawn]
Link to comment
Share on other sites
1 answer to this question
Recommended Posts