22.07.2010, 08:49
Well im trying to script just a name in front of a garage to tell people who the owner is, and im having alot of trouble
i'm asking if anyone can help?
i'm asking if anyone can help?
|
Well im trying to script just a name in front of a garage to tell people who the owner is, and im having alot of trouble
i'm asking if anyone can help? |
Create3DTextLabel("your string here",0x008080FF,garage[x],garage[y],garage[z],40.0,0);
|
public OnPlayerText(playerid, text[]) { if (AccountInfo[playerid][Mute] == 1) { SendClientMessage(playerid, RED, "You are muted! You cannot talk."); return 0; } return 1; } Create3DTextLabel("seifo",0x008080FF,garage[1586.25],garage[1189.62],garage[23.43],40.0,0); } |
public OnPlayerText(playerid, text[])
{
if (AccountInfo[playerid][Mute] == 1)
{
SendClientMessage(playerid, RED, "You are muted! You cannot talk.");
return 0;
}
Create3DTextLabel("seifo",0x008080FF,garage[1586.25],garage[1189.62],garage[23.43],40.0,0);
return 1;
}
stock LoadGarages()
{
/*
This part loads the imaginable garages
*/
// Now that we have our garages loaded, lets place the 3DTextLabel at them, to show the owner
new string[24];
for(new i = 0; i < sizeof(GarageInfo); i++)
{
format(string,sizeof(string),"%s",GarageInfo[i][Owner]);
Create3DTextLabel(string,0x008080FF,GarageInfo[i][PosX],GarageInfo[i][PosY],GarageInfo[i][PosZ],40.0,0);
}
}
public OnPlayerText(playerid, text[])
{
if(AccountInfo[playerid][Mute] == 1)
return SendClientMessage(playerid, RED, "You are muted! You cannot talk.");
return 1;
}