30.03.2014, 09:18
Код HTML:
icerpg.pwn(72248) : error 035: argument type mismatch (argument 1)
Код:
if(egyezik(cmd, "/bemutatkoz") || egyezik(cmd, "/bemutatkoz")) { new ID; #pragma tabsize 0 new string[200]; new Float:X, Float: Y, Float:Z; new nev[MAX_PLAYER_NAME]; new nev2[MAX_PLAYER_NAME]; if(sscanf(params, "u", ID)) return SendClientMessage(playerid, -1, "Hasznбlat: /bemutatkoz ID/Nйv"); <<< ERROR ! GetPlayerPos(playerid, X, Y, Z); if(!IsPlayerInRangeOfPoint(ID, 5.0, X, Y, Z)) return SendClientMessage(playerid, -1, "Nincs a megadott jбtйkos a kцzeledben!"); SendClientMessage(playerid, -1, "Bemutatkoztбl valakinek!"); GetPlayerName(playerid, nev, 24); GetPlayerName(ID, nev2, 24); format( string, sizeof ( string ), "Ьdv! Йn %s vagyok!", nev); SendClientMessage( ID, -1, string ); ShowPlayerNameTagForPlayer(playerid, ID, true); ShowPlayerNameTagForPlayer(ID, playerid, true); return 1; }