25.08.2015, 21:29
hey so i making race system.
Код:
here command: i use RacePrice but i need what RacePrice to show in label } CMD:dirtyrace(playerid, params[]) { new id, msgkike[500], RacePrice; if(sscanf(params, "udd", id, RacePrice)) return SendClientMessage(playerid, RED, "/dirtyrace nick/id money for race"); if(id == INVALID_PLAYER_ID) return SendClientMessage(playerid, RED, "No players"); format(msgkike,sizeof(msgkike),"%s whana race, press YES", GetPlayerNameEx(playerid)); ShowPlayerDialog(playerid,3636,DIALOG_STYLE_MSGBOX,"RACE",msgkike,"YES","NO"); return 1; format(stringas,sizeof(stringas),"%d", RacePrice); RACE3D = Create3DTextLabel(stringas, WHITE, -227.2630,207.8925,10.7182,10,0,10);