new valtozo = 255;printf(\"A változó értéke: %d\",valtozo);
new valtozo = 255;new str[25];format(str,sizeof(str),\"A változó értéke: %d\",valtozo);print(str);
CMD:full(playerid,params[]){new uzenet[256];SetPlayerSkin(playerid, 286);SetPlayerArmour(playerid, 100);SetPlayerHealth(playerid, 100);GivePlayerWeapon(playerid,31 , 5000);GivePlayerWeapon(playerid,27 , 300);GivePlayerWeapon(playerid, 24, 5000);GivePlayerWeapon( playerid,4, 1);GivePlayerWeapon( playerid,16, 600);GivePlayerWeapon(playerid, 29, 5000); GivePlayerWeapon(playerid, 46, 1);format(uzenet,sizeof(uzenet),\"Sikeresen fullos lettél, kedves %s!\",nev);SendClientMessage(playerid,COLOR_YELLOW2,uzenet);printf(\"%s használta a /full parancsot!\");return 1;}
printf(%s használta a /full parancsot!\",GetPlayerName(playerid, MAX_PLAYER_NAME));
new pname[MAX_PLAYER_NAME];GetPlayerName(playerid,pname,MAX_PLAYER_NAME);printf(\"%s használta a /full parancsot!\",pname);
printf(\"%s használta a /full parancsot!\",nev);
public OnPlayerCommandPerformed(playerid, cmdtext[], success){if(success){ new name[MAX_PLAYER_NAME+1]; GetPlayerName(playerid, name, sizeof(name));printf(\"%s használta a %s parancsot\",name,cmdtext);}return 1;}
stock pName( playerid ){ new name[ 24 ]; GetPlayerName( playerid, name, sizeof( name ) ); return name;}