//Mód elejérenew nev[MAX_PLAYER_NAME]//ParancsCMD:handshake(playerid, params[]){ new id,str[128], Float:X,Float:Y,Float:Z; if(sscanf(params) ,\"u\", id) return SendClientMessage(playerid, -1, \"Használat: /handshake [Játékos Név/ID]\"); if(id == INVALID_PLAYER_ID) return SendClientMessage(playerid, -1, \"Nincs ilyen játékos.\"); else if { GetPlayerPos(playerid, X, Y, Z); GetPlayerPos(id, X, Y, Z); If(IsPlayerInRangeOfPoint(playerid, 5.0, X, Y, Z) && IsPlayerInRangeOfPoint(id, 5.0, X, Y, Z)) { GetPlayerName(playerid,nev,sizeof(nev)); GetPlayerName(id,nev,sizeof(nev)); format(str,sizeof(str),\"%s kezetfogott veled.\", playerid); SendClientMessage(id, -1, str); format(str,sizeof(str),\"Sikeresen kezetfogtál vele: %s\",id); SendClientMessage(playerid, -1, str); } else SendClientMessage(playerid, -1, \"Nem vagy a közelében\"); } return 1;}
sfrp.pwn(8297) : warning 219: local variable \"id\" shadows a variable at a preceding levelsfrp.pwn(8297) : warning 219: local variable \"X\" shadows a variable at a preceding levelsfrp.pwn(8297) : warning 219: local variable \"Y\" shadows a variable at a preceding levelsfrp.pwn(8297) : warning 219: local variable \"Z\" shadows a variable at a preceding levelsfrp.pwn(8298) : warning 202: number of arguments does not match definitionsfrp.pwn(8299) : warning 217: loose indentationsfrp.pwn(8301) : error 035: argument type mismatch (argument 2)sfrp.pwn(8301) : error 008: must be a constant expression; assumed zerosfrp.pwn(8302) : error 035: argument type mismatch (argument 2)sfrp.pwn(8303) : warning 217: loose indentationsfrp.pwn(8303) : error 017: undefined symbol \"If\"sfrp.pwn(8304) : warning 217: loose indentationsfrp.pwn(8305) : error 017: undefined symbol \"nev\"sfrp.pwn(8305) : error 017: undefined symbol \"nev\"sfrp.pwn(8305) : error 029: invalid expression, assumed zerosfrp.pwn(8305) : fatal error 107: too many error messages on one lin