26.06.2014, 19:44
Here the enum to:
And so it is used thereafter:
PHP код:
enum jobcInfo
{
JName[35],
Location[30],
Float:posx,
Float:posy,
Float:posz
};
PHP код:
for(new i = 0; i < sizeof Jobcenter; i++)
{
new jstr[100];
format(jstr,sizeof(jstr),"%s\nBenutze /job, um das Job-Menu aufzurufen",Jobcenter[i][JName]);
CreateDynamicPickup(1239,1,Jobcenter[i][posx],Jobcenter[i][posy],Jobcenter[i][posz],-1);
CreateDynamic3DTextLabel(jstr,0xBBBBBBFF,Jobcenter[i][posx],Jobcenter[i][posy],Jobcenter[i][posz]+0.5,10.0,INVALID_PLAYER_ID,INVALID_VEHICLE_ID,1,-1,-1,-1,10.0);
}