public OnPlayerPickUpPickup(playerid, pickupid) { new propid = -1; for(new id; id<MAX_PROPERTIES; id++) { if(PropInfo[id][PickupNr] == pickupid) { propid = id; break; } } if(propid != -1) { new str[128]; format(str, 128, "~y~\"%s\"~n~~r~Value: ~y~$%d~n~~r~Earning: ~y~$%d~n~~r~Owner: ~y~%s", PropInfo[propid][PropName], PropInfo[propid][PropValue], PropInfo[propid][PropEarning], PropInfo[propid][PropOwner]); GameTextForPlayer(playerid, str, 6000, 3); } return 1; } |
//3D Text Label
Create3DTextLabel("Weapon Shop", 0x6F006FFF,314.2585,-133.5850,999.6015,100.0, 0);
public OnPlayerPickUpPickup(playerid, pickupid) { new propid = -1; for(new id; id<MAX_PROPERTIES; id++) { if(PropInfo[id][PickupNr] == pickupid) { propid = id; break; } } if(propid != -1) { new str[128]; format(str, 128, "~y~\"%s\"~n~~r~Value: ~y~$%d~n~~r~Earning: ~y~$%d~n~~r~Owner: ~y~%s", PropInfo[propid][PropName], PropInfo[propid][PropValue], PropInfo[propid][PropEarning], PropInfo[propid][PropOwner]); GameTextForPlayer(playerid, str, 6000, 3); } return 1; } |
Nooo it's y don't want a 3d text y want a 3d text for this cod that y give to you plz(Y am Macedonia Don't Speak English So Well)here is the code if you don't seedet xD
|
public OnPlayerPickUpPickup(playerid, pickupid) { new propid = -1; for(new id; id<MAX_PROPERTIES; id++) { if(PropInfo[id][PickupNr] == pickupid) { propid = id; break; } } if(propid != -1) { new str[128]; format(str, 128, "~y~\"%s\"~n~~r~Value: ~y~$%d~n~~r~Earning: ~y~$%d~n~~r~Owner: ~y~%s", PropInfo[propid][PropName], PropInfo[propid][PropValue], PropInfo[propid][PropEarning], PropInfo[propid][PropOwner]); GameTextForPlayer(playerid, str, 6000, 3); } return 1; } |